home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / pc / SATAN11.ZIP / HTML / REPORTIN / SATAN_SE.PL < prev    next >
Encoding:
Text File  |  1995-04-01  |  760 b   |  34 lines

  1. #
  2. # Sort hosts by number of vulnerabilties.
  3. #
  4. &make_severity_info();
  5.  
  6. print CLIENT <<EOF;
  7. <HTML>
  8. <HEAD>
  9. <title> Vulnerabilities - By Counts </title>
  10. <LINK REV="made" HREF="mailto:satan\@fish.com">
  11. </HEAD>
  12. <BODY>
  13. <H1><IMG SRC=$HTML_ROOT/images/satan.gif> Vulnerabilities - By Counts </H1>
  14. <hr>
  15. <h3> Hosts by descending vulnerability counts. </h3>
  16. EOF
  17.  
  18. $_sort_order = "severity";
  19. @_hosts = keys %severity_host_count;
  20. do "$html_root/reporting/sort_hosts.pl";
  21. print CLIENT $@ if $@;
  22.  
  23. print CLIENT <<EOF
  24. No vulnerability information found.
  25. EOF
  26.     if @_hosts == 0;
  27.  
  28. print CLIENT <<EOF;
  29. <hr> <a href=$HTML_STARTPAGE> Back to the SATAN start page </a> |
  30. <a href=analysis.pl> Back to SATAN Reporting and Analysis </a>
  31. </BODY>
  32. </HTML>
  33. EOF
  34.